package cn.skcks.dao;

import cn.skcks.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserDao {

	List<User> getUserList();

	User getUserById(int id);

	User getUser(Map<String, Object> map);

	List<User> getUserLike(String name);

	int addUser2(Map<String, Object> map);

	int addUser(User user);

	int updateUser(User user);

	int deleteUserById(int id);
}
